package de.bazinga.rotw.network.message;

import com.captiveimagination.jgn.synchronization.message.Synchronize3DMessage;
import com.jme.renderer.ColorRGBA;

public class SynchronizePlayerMessage extends Synchronize3DMessage {
	
	public static final int ANIMATION_STAND = 0;
	public static final int ANIMATION_WALK = 1;
	public static final int ANIMATION_RUN = 2;
	public static final int ANIMATION_JUMP = 3;
	public static final int ANIMATION_DUCK = 4;
	public static final int ANIMATION_FALLDEAD = 5;
	public static final int ANIMATION_FIRING = 6;
	public static final int ANIMATION_SWIMMING = 7;
	
	private int animation = 0;
	private ColorRGBA bulletColor = ColorRGBA.red;
	private String playerName = "";
	private int score = 0;
	
	private int team = 1;
	
	private int vehicleIndex = -1;

	public int getTeam() {
		return team;
	}

	public void setTeam(int team) {
		this.team = team;
	}

	public void setAnimation(int flag) {
		this.animation = flag;
	}
	
	public int getAnimation() {
		return this.animation;
	}

	public ColorRGBA getBulletColor() {
		return bulletColor;
	}

	public void setBulletColor(ColorRGBA bulletColor) {
		this.bulletColor = bulletColor;
	}

	
	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}	

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public void setVehicleIndex(int vehicleIndex) {
		this.vehicleIndex = vehicleIndex;
	}

	public int getVehicleIndex() {
		return vehicleIndex;
	}
}
